package com.cet.mysdk.factory;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.extern.slf4j.Slf4j;

import java.sql.Connection;

@Data
@AllArgsConstructor
@Slf4j
public class SqlSessionFactory {
    private String userName;
    private String password;
    private String driver;
    private String url;

    /**
     * 获取连接
     */
    public Connection getConnection() {
        log.info("创建并返回数据库Connection");
        return null;
    }
}
